<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>测试js效果</title>
	<script type="text/javascript" src="index.js"></script>	<!-- 给js一个引用地址 -->
	<style type="text/css">
	.box{
		width: 200px;
		height: 200px;
		background: red url() 0 0 no-repeat;
	}
	</style>
</head>
<body>
	<div class="box">
		<p></p>
	</div>
</body>
</html>